import { defineStore } from 'pinia'

/**
 * 主题配置
 * @returns 
 */
const useThemeStore = defineStore('app-global-theme', {
    state: () => ({
        darkTheme: false,
    }),
    persist: {
        storage: localStorage
    }
})

export default useThemeStore
